package tqq.action.command;

public class Test {
	public static void main(String[] args) {
		//命令模式
		
		Soldier soldier = new  Soldier(); //新建执行命令类
		Command command  = new FlyCommand("执行任务!!",soldier);//创建一个命令
		General general = new General(command);// 
		general.order();
	}
}
